{% extends 'register/baseregform.html' %}
{% load util %}

{% block header %}
<h2 align="center">Registration Form (Group)</h2>
{% endblock %}

{% block formdescription %}
<p align="left"><strong>Note: </strong>This is the group registration 
form, meaning you 
  want to go on dates as a member of an existing 
  group (say, you're an existing couple that is looking for a third).  If you want to go on dates as an individual, fill in the
 <a href="../individual/{{ event.event }}">other form</a>, and have any of your partners who are going do so as well.</p>
{% endblock %}


{% block form %}

<form name="groupReg" method="post" action="">
  <p> </p>

<p align="left"><strong>More on Group Dating: </strong>If you are a bit 
confused, read the <a 
href="{% url about-page what="groups" %}" target="_blank">group examples</a>
 to see what some of the choices might mean.

</p><hr>

  <h2>Public group name:     {{ rform.nickname }}
</h2>
  <p align="center">This is the name that will be on your name tags, 
e.g., "Linda and Johanna."</p>

  <h2>Contact email: 
    {{ rform.email }}
  </h2>
  <p align="center">This email address will be given out when you successfully match
with someone. It will not be made public or shared for any other reason. The
only emails 
    you get will be for this event and, if you check the box below, 
notices of 
    future events.</p>
  <p align="center"> 
    {{ rform.add_to_mailings }}
    Yes, we want to hear about future Poly Speed Dating (or other 
related poly 
    social) events thrown by you folks.</p>

  <h2>Group Member Information:</h2>
<p align="center">For each member in your group, fill out who they are and what
they are looking for (if anything). We can currently handle groups of two
people or three people; if there are two of you, leave the third form
blank.</p>


  <p align="center">
We encourage you to be both <b>open-minded</b>, so you get plenty of dates, and
<b>honest</b>, so you don't end up on dates with people who are genuinely of
no interest to you.</p>

<p>
<p align="center">
Also, gender matching is complex.  We have attempted to design
a system that is inclusive and that celebrates the spectrum of what is
possible.  Please read the <a href="{% url about-page what="gender" %}"
target="_blank">help section</a> for more about what's going on here.</p>

<p align="center">
So, we have one question about <b>what you're looking for</b> about
<b>what your dates should be looking for</b>.</p>

<br>

{{ pformset.management_form }}
{% for pform in pformset.forms %}

<h2>person #{{ forloop.counter }}
{% ifequal forloop.counter 3 %} (optional){% endifequal %}:</h2>
<blockquote>
Name (First, Last):    {{ pform.first_name }}
    {{ pform.last_name }}
<br>
<p>Age: {{ pform.age }} years old
<p>Kinky?: {{ pform.kinky }} (check if yes).  (<a href="{% url about-page what="kink" %}" target="_blank">About the kinky option</a>)

    <p>Acceptable age range for dates:  &nbsp; &nbsp; &nbsp; From  
      {{ pform.seek_age_min }}
      to 
      {{ pform.seek_age_max }} years old.
    </p>

  <p>Acceptable kinkiness for dates:
     {{ pform.seek_kinkiness }}
</p>
Gender and Sex (<a href="{% url about-page what="gender" %}" target="_blank">help on this.</a>):  For this event, 


<table align="center" cellspacing=0 cellpadding=0 width="90%">

<tr>
<td width="40%"> 
<b>put person #{{forloop.counter}} on speed dates with...</b> <br>
<i color="red">(check all boxes that person #{{forloop.counter}} is open to)</i>
</td>
<td width="5%">
</td>
<td width="40%"> 
<b>...who are open to speed dates with at least</b><br>
<i color="red">(check all boxes that apply to person #{{forloop.counter}} or see
<a href="{% url about-page what="gender" %}" target="_blank">here</a>)</i>
</td>
</tr>

<tr>
<td>


<tr>
<td valign="top">
{{pform.seek_gender}}
<ul style="list-style: none;">
</td>

<td width="5%">
</td>

<td valign="top">
{{pform.gender}}
</td>
</tr>

</table>




  </blockquote>
{% endfor %}



<h2>All or Any?</h2>
<p align="center">Are you open to people who match at least one of your 
members, or do you need folks that match <em>all</em> of your members?  
<!-- Note that we will not consider those of your group who marked "none," 
above, regardless of how you check off the following box.-->

</p><blockquote>
    <p>{{ rform.groups_match_all }}
    We want folks that match all of us. (Leave unchecked to also meet people who match only one of you.)

</p></blockquote>

<h2>Groups</h2>
  <p align="center">As you know, some folks will be "dating"
  as a group. This means you can have group-group dates! Here's how that works:</p>

<p align="center">If you chose "match all of us" above, your group will match
only if all
  of you have someone to match in the other group, though each of you
  might match someone different. If you left the box unchecked ("match any
of us"),
your group matches if at
  least one of you has a mutual interest with at least one of the
  members in the other group.

  Of course, the other group also 
  specified the any/all option.  Putting it all together, an
  all-all combination means all members of each group have a mutual match
  with someone.  Any-any, on the other hand, might mean only one
  member of each of the groups has a match.  An all-any could have one
  person in the second group matching all the people in the first
  group.  Got it? Great.


  </p><blockquote> 
   </p><p>      
      {{ rform.seek_groups }}
      We are happy to date groups.  Crazy is great!
</p>
(Remember that this is Poly Speed Dating--just because you say no to 
dating a group does not mean the individuals you do end up dating do not
 have pre-existing relationships.)
</blockquote>

<h2>Location:</h2>
    <p align="center">As a secondary consideration, we attempt to match 
people geographically.  Check all that apply.</p>

{{ rform.location }}

<h2>Friends</h2>
<p align="center">Because of how matching works,
you may have slots in your schedule with no date.  During 
these times you can either socialize in the social area or, if you like,
 we'll try to schedule "friendship dates" with people who mutually
 <em>do not</em> match you.  Would you like to have a few of these 
dates?
  </p><blockquote> 
       {{ rform.friend_dates }}  We want some Friendship Dates.
    <p></p>
  </blockquote>




{% if event.has_childcare %}
<h2>Childcare:</h2>
<p align="center">We are planning on providing childcare if at all possible.  Please let us know if you need those services.
<p>
{{ rform.wants_childcare }} Yes, I would love childcare for (please list names and ages of children):
<p>
<blockquote>
  <blockquote> 
    <blockquote> 
{{ rform.children }}
</blockquote></blockquote></blockquote>
{% endif %}

  <h2>Referral</h2>
  <p>We were referred to PSD by: 
    {{ rform.referred_by }}
  </p>
  <p align="center">(Leave blank if no one, or you don't recall.)</p>

  <h2>Comments/Remarks</h2>
  <p align="center"> Anything to add?  Anything we should know?</p>
  <blockquote> 
    <blockquote> 
      <blockquote> 
        <blockquote> 
          <blockquote>
            <p> 
              {{ rform.comments }}
            </p>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
  </blockquote>



  <p align="center"> 
    <input name="Submit_Group" value="Register Us!" type="submit">
    <br>
  </p>

</blockquote></form>


{% endblock %}
